import { reactive, ref } from 'vue';
import { update } from '@/services';
import { message } from 'ant-design-vue';

export default function usePasswordData() {
  const passwordEditModalRef = ref({});

  const showPasswordModal = id => {
    passwordEditModalRef.value.showPasswordModal(id);
  };

  return {
    showPasswordModal,
    passwordEditModalRef,
  };
}
